package com.kichina.parking.service.logic.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 车辆类型记录表
 * </p>
 *
 * @author Surging
 * @since 2022-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CarTypeRecord extends Model<CarTypeRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆类型记录表主键ID
     */
    @TableId(value = "car_type_record_id", type = IdType.UUID)
    private String carTypeRecordId;

    /**
     * 车场ID	
     */
    private String parkid;

    /**
     * 车辆类型;0，1
     */
    private Integer carType;

    /**
     * 小车，大车
     */
    private String carTypedesc;

    /**
     * 操作类型;1添加 3删除
     */
    private Integer operateType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 消息类型
     */
    private String service;


    @Override
    protected Serializable pkVal() {
        return this.carTypeRecordId;
    }

}
